/*
 * @Author: 梓岄 3049738225@qq.com
 * @Date: 2025-11-20 14:18:02
 * @LastEditors: 梓岄 3049738225@qq.com
 * @LastEditTime: 2025-11-20 17:47:18
 * @FilePath: /named_pipe/Client.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include"Pipe.hpp"


int main()
{
    Fifo fileclient;
    fileclient.Open(ForWrite);

    while(true)
    {
        std::cout<<"Please Enter@ ";
        std::string msg;
        std::getline(std::cin,msg);
        
        // std::cout<<"getling: "<<msg<<std::endl;

        fileclient.Send(msg);
    }

    return 0;
}